<?php
/** 
 * 
 *
 * @package api
 * @subpackage db
 * @author Richard Fullmer <php-api@byu.edu>
 * 
 * @version 1.0
 */
/**
 * 
 */
require_once( "util/AbstractList.php" );
require_once( "db/Mapper.php" );
require_once( "MDB2.php" );

/**
 * @package api
 * @subpackage db
 */
class AbstractDeferredList extends AbstractList {
	
 	function __construct( Mapper $mapper, $result ) {
		parent::__construct( ); 
        while ( $row = $result->fetchRow( MDB2_FETCHMODE_ASSOC ) ) {
			$this->add( $mapper->loadArray( $row ) );
        }
    } 
	
	function size() { }
	function get( $index ) {}
	
}

?>
